/**
 * Created by Administrator on 2017/3/14.
 * 注册所有组件
 */
// widget
import Loading from '../widget/Loading.vue'
import DSError from '../widget/DSError.vue'
import Navigator from '../widget/Navigator.vue'
import CpAlertView from '../widget/CpAlertView.vue'

class ComponentConfig {
  static createComponent(vue) {
    // widget
    vue.component('loading', Loading);
    vue.component('navigator', Navigator);
    vue.component('DSError', DSError);
    vue.component('cp-alert-view', CpAlertView);
  }
}

export default ComponentConfig;
